package net.towee.model.repo;

import java.util.List;

import net.towee.model.account.AccountIdentity;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * This interface define methods to add opinions to some data
 * 
 * TODO: сделать более устойчивым к большому кол-ву тапов 
 * 
 * @author c58
 */
public interface TupsContainer extends IsSerializable {
	/**
	 * @return list of all who likes it
	 */
	List<AccountIdentity> getTupsList();
	
	/**
	 * Add new unique user who like this
	 * @param acc
	 */
	void addTup(AccountIdentity acc);
}
